
#include "model.h"

Model::Model()
{

}

void Model::render()
{
	//glPushMatrix();
	glBegin(GL_QUADS);
		// Rotation cod here
		for(unsigned int i = 0; i < _objects.size(); i++)
		{
			_objects[i].render();
		}
	glEnd();
	//glPopMatrix();
}

void Model::addObject3D(Object3D obj)
{
	_objects.push_back(obj);
}